package com.xuecheng.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 课程计划与媒体文件关联表
 */
@Data
@Builder
@TableName("teachplan_media")
public class TeachplanMedia implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/**
	 * 主键
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	
	/**
	 * 媒资文件id
	 */
	private String mediaId;
	
	/**
	 * 课程计划标识
	 */
	private Long teachplanId;
	
	/**
	 * 课程标识
	 */
	private Long courseId;
	
	/**
	 * 媒资文件原始名称
	 */
	@TableField("media_fileName")
	private String mediaFilename;
	
	@TableField(fill = FieldFill.INSERT)
	private LocalDateTime createDate;
	
	/**
	 * 创建人
	 */
	private String createPeople;
	
	/**
	 * 修改人
	 */
	private String changePeople;
	
	
}
